
#include <gtk/gtk.h>

#include <eel/eel-string.h>

int 
main (int argc, char* argv[])
{
    gtk_init (&argc, &argv);

    char *str;
    str = "abc_def ghi'jkl";
    g_print ("eel_str_double_underscores deal with\t\t %s -> \t%s\n", str, eel_str_double_underscores (str));
    g_print ("eel_str_escape_spaces deal with\t\t\t %s -> \t%s\n", str, eel_str_escape_spaces (str));
    g_print ("eel_str_escape_quotes deal with\t\t\t %s -> \t%s\n", str, eel_str_escape_quotes (str));
    g_print ("eel_str_capitalize deal with\t\t\t %s -> \t%s\n", str, eel_str_capitalize (str));
    g_print ("eel_str_middle_truncate deal with\t\t %s -> \t%s\n", str, eel_str_middle_truncate (str, 8));
    g_print ("eel_str_strip_substring_and_after deal with\t %s -> \t%s\n", str, eel_str_strip_substring_and_after (str, "def"));
    g_print ("eel_str_replace_substring deal with\t\t %s -> \t%s\n", str, eel_str_replace_substring (str, "abc", "HUY"));

    return 0;
}
